package com.filldream.fastboot.common.entity.db;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigDecimal;

/**
 * 股票订单
 */
@Data
@Accessors(chain = true)
public class StockOrder {

    @ApiModelProperty(value = "股票代码")
    private Long orderId;

    private String simpleCode;

    private String searchCode;

    @ApiModelProperty(value = "购买价格")
    private BigDecimal price;

    @ApiModelProperty(value = "购买数量")
    private Integer dealCount = 100;

    @ApiModelProperty(value = "交易类型")
    private Boolean buyFlag;

}
